Skip to main content

IRedisHashAsync<TKey, TValue>

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisHashAsync<TKey, TValue> : IHasStringId, IHasId<string>

Methods

GetAllAsync(CancellationToken)

View Source
Declaration
ValueTask<Dictionary<TKey, TValue>> GetAllAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.Dictionary<<TKey>,<TValue>>>

Parameters
TypeName
System.Threading.CancellationTokentoken

CountAsync(CancellationToken)

View Source
Declaration
ValueTask<int> CountAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int32>

Parameters
TypeName
System.Threading.CancellationTokentoken

AddAsync(KeyValuePair<TKey, TValue>, CancellationToken)

View Source
Declaration
ValueTask AddAsync(KeyValuePair<TKey, TValue> item, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Collections.Generic.KeyValuePair<<TKey>,<TValue>>item
System.Threading.CancellationTokentoken

AddAsync(TKey, TValue, CancellationToken)

View Source
Declaration
ValueTask AddAsync(TKey key, TValue value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
<TKey>key
<TValue>value
System.Threading.CancellationTokentoken

ClearAsync(CancellationToken)

View Source
Declaration
ValueTask ClearAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

ContainsKeyAsync(TKey, CancellationToken)

View Source
Declaration
ValueTask<bool> ContainsKeyAsync(TKey key, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
<TKey>key
System.Threading.CancellationTokentoken

RemoveAsync(TKey, CancellationToken)

View Source
Declaration
ValueTask<bool> RemoveAsync(TKey key, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
<TKey>key
System.Threading.CancellationTokentoken